type net/http.body
18 uses
net/http (current package)
server.go#L430: reqBody *body // nil when NoBody
server.go#L1093: var reqBody *body
server.go#L1096: case *body:
transfer.go#L576: t.Body = &body{src: internal.NewChunkedReader(r), hdr: msg, r: r, closing: t.Close, maxTrailerHeaders: maxTrailerHeaders}
transfer.go#L581: t.Body = &body{src: io.LimitReader(r, realLength), closing: t.Close}
transfer.go#L586: t.Body = &body{src: r, closing: t.Close}
transfer.go#L825: type body struct {
transfer.go#L847: func (b *body) Read(p []byte) (n int, err error) {
transfer.go#L860: func (b *body) readLocked(p []byte) (n int, err error) {
transfer.go#L930: func (b *body) readTrailer() error {
transfer.go#L987: func (b *body) discardTrailer() {
transfer.go#L996: func (b *body) unreadDataSizeLocked() int64 {
transfer.go#L1003: func (b *body) Close() error {
transfer.go#L1049: func (b *body) didEarlyClose() bool {
transfer.go#L1057: func (b *body) bodyRemains() bool {
transfer.go#L1066: func (b *body) registerOnHitEOF(fn func()) {
transfer.go#L1078: b *body
transport.go#L2433: if b, ok := r.(*body); ok {